#ifndef _VGA_H_
#define _VGA_H_


#define VIDEO_BASE 0xB8000
#define VIDEO_ANCHO 80
#define VIDEO_ALTO 25

typedef char VGA_MODE;

#define VGA_FG_BLACK 0
#define VGA_FG_WHITE 7
#define VGA_BG_BLACK 0
#define VGA_BG_WHITE (7 << 4)
#define VGA_CHAR_BLINK ( 1 << 7 )
#define VGA_CHAR_HIGHLIGHT ( 1 << 3 )

typedef struct {
	char caracter;
	VGA_MODE mode;
} __attribute__((__packed__)) caracter_video;
	
void
putchar( char caracter, VGA_MODE modo, int columna, int linea );

void 
print_str( char * str,VGA_MODE mode, int columna, int linea );

void
print_int( int n, VGA_MODE mode, int columna, int linea );

#endif /* _VGA_H_ */

